import { type } from 'os';

import { ApiProperty } from '@nestjs/swagger';
import { IsNotEmpty } from 'class-validator';

export class SortMenuDto {

    @IsNotEmpty()
    @ApiProperty({ description: 'sort不能为空' })
    sort:number;

    @ApiProperty({ description: '菜单名称' })
    id: string;

    @ApiProperty({ description: '父级路由id' })
    pId: string;

} 